/*
 * Copyright (c) 2025 Eclipse Dirigible contributors
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v2.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v20.html
 *
 * SPDX-FileCopyrightText: Eclipse Dirigible contributors
 * SPDX-License-Identifier: EPL-2.0
 */
export function getTemplate() {
    return {
        name: 'database-view',
        label: 'Database View',
        extension: 'view',
        data: JSON.stringify({
            name: 'MYVIEW',
            type: 'VIEW',
            query: 'SELECT * FROM MYTABLE',
            dependencies: [
                {
                    name: 'MYTABLE',
                    type: 'TABLE'
                }
            ]
        }, null, 4)
    };
};